package com.un.ebs.sys.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.un.ebs.core.metadata.DbField;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * (UserGroupItemExt)表实体类
 *
 * @author makejava
 * @since 2020-08-23 19:27:19
 */
@Data
@Component
@TableName("v_user_group_item_ext")
@SuppressWarnings("serial")
public class UserGroupItemExt extends Model<UserGroupItemExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "group_id", length = 40, precision = 0)
    private String groupId;

    @DbField(name = "group_name", length = 100, precision = 0)
    private String groupName;

    @DbField(name = "remark", length = 200, precision = 0)
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    @DbField(name = "create_at", length = 40, precision = 0)
    private String createAt;

    @TableField(fill = FieldFill.INSERT)
    @DbField(name = "create_time", length = -1, precision = 0)
    private Date createTime;

    @DbField(name = "ent_id", length = 40, precision = 0)
    private String entId;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "user_id", length = 40, precision = 0)
    private String userId;

    @DbField(name = "personnel_id", length = 40, precision = 0)
    private String personnelId;

    @DbField(name = "personnel_name", length = 255, precision = 0)
    private String personnelName;

    @DbField(name = "tel", length = 50, precision = 0)
    private String tel;

    @TableLogic
    @DbField(name = "is_delete", length = -1, precision = 0)
    private Boolean isDelete;


}
